package com.intellagric.service.traceability.trace_produce_warehouse;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.traceability.ProduceWarehouseVo;
import com.intellagric.pojo.TraceProduceWarehouse;

/**
 * @Author: zhy
 * @email: 1269679946@qq.com
 * @Date: 2018/11/3
 * @DESC： 农产品库存信息服务接口
 */
public interface ProduceWarehouseService {

    //增加农产品库存信息
    ResponseMessage addProduceWarehouse(TraceProduceWarehouse produceWarehouse);

    //删除农产品库存信息
    ResponseMessage deleteProduceWarehouse(String id);

    //修改农产品库存信息
    ResponseMessage editProduceWarehouse(TraceProduceWarehouse produceWarehouse);

    //查询农产品库存信息
    TraceProduceWarehouse getProduceWarehouseById(String id);
    LayuiDataGridResult getProduceWarehouseList();
    LayuiDataGridResult getProduceWarehousePage(int page ,int rows);
    LayuiDataGridResult getProduceWarehousePage(int page ,int rows,String createBy);
    LayuiDataGridResult getProduceWarehouseByVo(ProduceWarehouseVo produceWarehouseVo);

}
